<?php if (isset($InputData['page_iscroll_load']) && $InputData['page_iscroll_load'] == 1) {
    //$InputData['page_iscroll_load'] == 1 表示为下拉或上拉加载?>
    <div id="home_shoe_show_wrapper" style="margin-top:0px">
        <div>
            <?php if (isset($shoeShowList) && count($shoeShowList) > 0) { ?>
                <div class="pull-action pull-down">
                    <span class="am-icon-arrow-down pull-label">下拉刷新</span>
                    <span class="am-icon-spinner am-icon-spin"></span>
                </div>
            <?php }
            } ?>
            <div data-am-widget="list_news" style="touch-action: none; margin-top: -1px">
                <div id="shoe_show_list_content">
                    <?php require("{$CfgPara->root}/view/shoe_show_list_page.app.v.php"); ?>
                </div>
            </div>
            <?php if (isset($InputData['page_iscroll_load']) && $InputData['page_iscroll_load'] == 1) {
            if (isset($shoeShowList) && count($shoeShowList) > 0) { ?>
                <div class="pull-action pull-up">
                    <span class="am-icon-arrow-up pull-label">上拉加载更多</span>
                    <span class="am-icon-spinner am-icon-spin"></span>
                </div>
            <?php } ?>
        </div>
    </div>
    <script type="text/javascript">
        myScrollList = new ScrollLoad({
            params: {
                wrapper: '#home_shoe_show_wrapper',
                start: 1,
                //工作区可见高度减去页头和选择栏
                screen_height: $(window).height() - page_header_height - $("#list-sele-bar").outerHeight()
            },
            post: {
                controller: 'shoe_show_list',
                list_type: <?= $InputData['list_type'] ?>,
                page_iscroll_load: 2
            }
        });
        myScrollList.init();
        document.getElementById('home_shoe_show_wrapper')
            .addEventListener('touchmove', function (e) {
                e.preventDefault();
            }, false);
    </script>
<?php } ?>